package com.springboot.java.design.bridge;

/**
 * @Author: TongRui乀
 * @Date: 2019/3/5 17:11
 * @description：
 */
public class CircleShape extends Shape {

    private int radius;

    public CircleShape(int radius, DrawAPI drawAPI) {
        super(drawAPI);
        this.radius = radius;
    }

    @Override
    public void draw() {
        drawAPI.draw(radius, 0, 0);
    }
}
